package com.anny.crm.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * 避免POJO类在转为json时首字母变小写
 * @author QINKUI
 *
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class UsersDTO {

	@JsonProperty
	private String Id; // 用户编号UUID
	@JsonProperty
	private String LoginName; // 登录名
	@JsonProperty
	private String IsLockout; // 是否锁定
	@JsonProperty
	private String CreateTime; // 账号创立时间
	@JsonProperty
	private String LastLoginTime; // 最后一次登录时间
	@JsonProperty
	private String lockTime; // 被锁定时间
	@JsonProperty
	private String PsdWrongTime; // 密码错误次数
	@JsonProperty
	private String ProtectEMail; // 密保邮箱
	@JsonProperty
	private String ProtectMTel; // 密保手机号
	@JsonProperty
	private String RowNum;// 行号
	public String getId() {
		return Id;
	}
	public void setId(String id) {
		Id = id;
	}
	public String getLoginName() {
		return LoginName;
	}
	public void setLoginName(String loginName) {
		LoginName = loginName;
	}
	public String getIsLockout() {
		return IsLockout;
	}
	public void setIsLockout(String isLockout) {
		IsLockout = isLockout;
	}
	public String getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}
	public String getLastLoginTime() {
		return LastLoginTime;
	}
	public void setLastLoginTime(String lastLoginTime) {
		LastLoginTime = lastLoginTime;
	}
	public String getLockTime() {
		return lockTime;
	}
	public void setLockTime(String lockTime) {
		this.lockTime = lockTime;
	}
	public String getPsdWrongTime() {
		return PsdWrongTime;
	}
	public void setPsdWrongTime(String psdWrongTime) {
		PsdWrongTime = psdWrongTime;
	}
	public String getProtectEMail() {
		return ProtectEMail;
	}
	public void setProtectEMail(String protectEMail) {
		ProtectEMail = protectEMail;
	}
	public String getProtectMTel() {
		return ProtectMTel;
	}
	public void setProtectMTel(String protectMTel) {
		ProtectMTel = protectMTel;
	}
	public String getRowNum() {
		return RowNum;
	}
	public void setRowNum(String rowNum) {
		RowNum = rowNum;
	}
	@Override
	public String toString() {
		return "UsersDTO [Id=" + Id + ", LoginName=" + LoginName + ", IsLockout=" + IsLockout + ", CreateTime="
				+ CreateTime + ", LastLoginTime=" + LastLoginTime + ", lockTime=" + lockTime + ", PsdWrongTime="
				+ PsdWrongTime + ", ProtectEMail=" + ProtectEMail + ", ProtectMTel=" + ProtectMTel + ", RowNum="
				+ RowNum + "]";
	}
}
